package model;

import java.util.ArrayList;

import controller.Controller;

public class GymList extends ArrayList<Gym> {
	private static final long serialVersionUID = 1L;

	private Controller controller = null;

	public GymList(Controller controller) {
		super();
		this.controller = controller;
		loadGymList();
	}
	
	private void loadGymList(){
		//TODO SQL
		this.add(new Gym("McFit"));
		this.add(new Gym("Fitness First"));
	}
	
	@Override
	public boolean add(Gym e) {
		// TODO SQL
		return super.add(e);
	}

	@Override
	public boolean remove(Object o) {
		// TODO SQL
		return super.remove(o);
	}

	@Override
	public Gym remove(int index) {
		// TODO SQL
		return super.remove(index);
	}
}
